﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace JHMVVMFramework.Task
{
    public class TaskProgressChangedEventArgs :EventArgs
    {
        public long TotalWorkload { get; private set; }

        public long FinishedWorkload { get; private set; }

        public int ProgressPercentage { get; private set; }

        public object UserState { get; private set; }

        public TaskProgressChangedEventArgs(long totalWorkload, long finishedWorkload, int progressPercentage, object userState)
            : base()
        {
            TotalWorkload = totalWorkload;
            FinishedWorkload = finishedWorkload;
            ProgressPercentage = progressPercentage;
            UserState = userState;
        }
    }
}
